package com.annoncesautomobile.modele.local;

import android.content.Context;
import android.content.SharedPreferences;

public class MonJeton {
	
	private static final String PREFERENCES_NAME = "ANNONCE_AUTO";
	public static final String PROPERTY_REG_ID = "registration_id";

	
	public static String getRegistrationId(Context context) {
		SharedPreferences preferences = context.getSharedPreferences(PREFERENCES_NAME, Context.MODE_PRIVATE);
		return preferences.getString(PROPERTY_REG_ID, "");
	}
}
